﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace Scribd.Net
{
    /// <summary>
    /// Extension API functions for Scribd.
    /// </summary>
    [Obsolete("This has been removed from the Scribd.API")]
    public sealed class Extension
    {
        /// <summary>
        /// This method associates the current Scribd user with his account ID on your website
        /// </summary>
        /// <param name="externalId">The ID of the user's account on your website.</param>
        /// <returns>True on success.</returns>
        [Obsolete("This has been removed from the Scribd.API and will always return False")]
        public static bool SetUser(int externalId)
        {
            return false;
        }

        /// <summary>
        /// This method looks up the Scribd ID of a user who has been associated with an external account ID.
        /// </summary>
        /// <param name="externalId">The ID of the user's account on your website.</param>
        /// <returns>Scribd ID of the user.</returns>
        [Obsolete("This has been removed from the Scribd.API and will always return -1")]
        public static int LookupUserId(int externalId)
        {
            return -1;
        }
    }
}
